#include<stdio.h>

extern unsigned cantFactoresPrimos(unsigned long long int n);

unsigned cantFactPrimos(unsigned long long int n);

int main(int argc, char* argv[]) {

	unsigned long long int n = 210LL;
	unsigned res;
	
	res = cantFactPrimos(n);
	
	printf("El resultado de cantFactoresPrimos es: %u \n", res);
	
	return 0;
}

unsigned cantFactPrimos(unsigned long long int n) {
	unsigned k = 1, d = 2;
	while (d*d < n) {
		if (n % d == 0) {
			k++;
			n = n/d;
		}
		else d++;
	}
	return k;
}
